package com.forum.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.forum.entity.DisciplinetabEntity;
import com.forum.entity.view.DisciplinetabView;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 张继成
 * @since 2023-12-31
 */
public interface DisciplinetabDao extends BaseMapper<DisciplinetabEntity> {
    /*List<XuekeVO> selectListVO(@Param("ew") Wrapper<DisciplinetabEntity> wrapper);

    XuekeVO selectVO(@Param("ew") Wrapper<DisciplinetabEntity> wrapper);*/

    List<DisciplinetabView> selectListView(@Param("ew") Wrapper<DisciplinetabEntity> wrapper);

    List<DisciplinetabView> selectListView(Pagination page, @Param("ew") Wrapper<DisciplinetabEntity> wrapper);

    DisciplinetabView selectView(@Param("ew") Wrapper<DisciplinetabEntity> wrapper);
}
